.map-marker-container {
  padding: 24px;
  background: #f0f2f5;

  .map-card {
    margin-bottom: 24px;
  }

  .sensor-list-card {
    .ant-table-wrapper {
      background: #fff;
    }
  }

  .custom-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    
    .marker-icon {
      display: block;
    }

    .marker-label {
      margin-top: 4px;
      font-size: 12px;
      white-space: nowrap;
      // 根据需要可以在缩放较小时隐藏标签
      @media (max-width: 768px) {
        display: none;
      }
    }
  }

  .coordinate-display {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    font-size: 14px;
    color: #333;
    
    .ant-btn {
      padding: 0 4px;
      &:hover {
        color: #1890ff;
      }
    }
  }

  .coordinate-control-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .setting-position-active {
    cursor: crosshair;
  }
}

// 响应式布局
@media (max-width: 768px) {
  .map-marker-container {
    padding: 12px;
  }
} 